import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';

class DetailsWeb extends StatelessWidget {
  bool isDetails = true;
  int commodityId = 0;
  DetailsWeb(this.isDetails, this.commodityId);
  @override
  Widget build(BuildContext context) {
    if (isDetails) {
      return Center(
        child: Html(
          data: "暂无详情",
        ),
      );
    } else {
      return Center(
        child: Text("暂无评论"),
      );
    }
  }
}
